package backend

import "github.com/gogf/gf/v2/frame/g"

type LoginLogIndexReq struct {
	g.Meta `path:"/auth-login-logs/index" method:"get" summary:"登录日志列表页面" tags:"日志"`
}

type LoginLogIndexRes struct {
	g.Meta `mime:"text/html" type:"string" example:"<html/>"`
}

type LoginLogIndexListReq struct {
	g.Meta   `path:"/auth-login-logs/list" method:"get" summary:"登录日志列表数据" tags:"日志"`
	Username string `json:"username"`
	CommonPaginationReq
}

type LoginLogIndexListRes struct {
	Data interface{} `json:"data"`
	CommonPaginationRes
}
